package com.wr.recruit.service.service;

import com.wr.recruit.service.dao.dbo.MailDbo;
import org.springframework.data.domain.Page;

public interface MailService {

    String sendMail(String mailCode, Integer step, String sender,String accepter, String attachmentCode, String subject, String content) throws Exception;

    Page<MailDbo> getMailListInfo(String userName, Integer pageSize, Integer pageNum);

    MailDbo getMailInfo(String mailCode, Integer step);
}
